<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>

<rss version="2.0">
<channel>
<title>Photos</title>
<link>${name}:${port}${path}</link>
<description>${user.firstname} ${user.lastname}</description>

	<c:forEach items="${photosRss}" var="photo">
		<item>
			<title>${photo.title}</title>
				<link>http://${name}:${port}${path}/ViewPhotoController?id=${photo.id}</link>
			<description>${photo.description}<br></description>
		</item>
	</c:forEach>

</channel>